* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Arial', sans-serif;
}

body {
	background-color: #f5f7fa;
	color: #333;
	line-height: 1.6;
	overflow-x: hidden;
	/* 防止水平滚动条出现 */
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

header {
	text-align: center;
	padding: 30px 0;
}

h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	color: #2c3e50;
}

.subtitle {
	font-size: 1.2rem;
	color: #7f8c8d;
}

/* 导航标签样式 */
.navigation {
	display: flex;
	justify-content: center;
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 20px;
	overflow-x: auto;
	/* 允许在小屏幕上水平滚动 */
	scrollbar-width: none;
	/* 隐藏滚动条 - Firefox */
}

.navigation::-webkit-scrollbar {
	display: none;
	/* 隐藏滚动条 - Chrome, Safari, Edge */
}

.tab {
	padding: 15px 25px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	color: #7f8c8d;
	white-space: nowrap;
	/* 防止标签文字换行 */
	transition: all 0.3s ease;
	position: relative;
}

.tab:hover {
	color: #3498db;
}

.tab.active {
	color: #3498db;
}

.tab.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #3498db;
	transition: width 0.3s ease;
}

/* 内容区域样式 */
.tabs-container {
	position: relative;
	height: 500px;
	/* 固定高度，可根据需要调整 */
	overflow: hidden;
}

.tab-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 30px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	opacity: 0;
	transform: translateX(100%);
	transition: opacity 0.5s ease, transform 0.5s ease;
	overflow-y: auto;
	/* 允许内容垂直滚动 */
}

.tab-content.active {
	opacity: 1;
	transform: translateX(0);
}

.tab-content.prev {
	transform: translateX(-100%);
}

.tab-content h3 {
	font-size: 1.8rem;
	margin-bottom: 20px;
	color: #2c3e50;
}

.tab-content p {
	margin-bottom: 15px;
	color: #555;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 30px;
}

.feature-card {
	background-color: #f8f9fa;
	background-image: var(--background);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	font-size: 2rem;
	color: #3498db;
	margin-bottom: 15px;
}

.feature-title {
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: #2c3e50;
}

.feature-description {
	color: #7f8c8d;
	font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}

	.subtitle {
		font-size: 1rem;
	}

	.tab {
		padding: 12px 15px;
		font-size: 0.9rem;
	}

	.tabs-container {
		height: 600px;
		/* 在小屏幕上增加高度 */
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}
}

footer {
	background-color: #f8f9fa;
	padding: 20px 0;
	margin-top: 38px;
	text-align: center;
}

.footer {
	max-width: 1200;
	margin: 0 auto;
	padding: 0 20px;
}